projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
955ae40
)
inspector: Use event controller names
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 19 Jun 2019 11:11:06 +0000
(11:11 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 21 Jun 2019 02:48:42 +0000
(22:48 -0400)
Use these in the same place we use widget names.
gtk/inspector/object-tree.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/object-tree.c
b/gtk/inspector/object-tree.c
index efaed00d2b4d4e1d1462546ed184744fb74fd85f..66af2c2fdb719ff78ab5c26132bf51686f8fea8c 100644
(file)
--- a/
gtk/inspector/object-tree.c
+++ b/
gtk/inspector/object-tree.c
@@
-673,6
+673,11
@@
gtk_inspector_get_object_name (GObject *object)
return id;
}
+ if (GTK_IS_EVENT_CONTROLLER (object))
+ {
+ return gtk_event_controller_get_name (GTK_EVENT_CONTROLLER (object));
+ }
+
return NULL;
}